package com.ruoyi.game.mapper;

import com.ruoyi.game.domain.entity.GameWingoRecord;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * wingo开奖记录Mapper接口
 * 
 * @author ruoyi
 * @date 2024-05-13
 */
public interface GameWingoRecordMapper 
{
    /**
     * 查询wingo开奖记录
     * 
     * @param id wingo开奖记录主键
     * @return wingo开奖记录
     */
    public GameWingoRecord selectGameWingoRecordById(String id);

    /**
     * 查询wingo开奖记录列表
     * 
     * @param gameWingoRecord wingo开奖记录
     * @return wingo开奖记录集合
     */
    public List<GameWingoRecord> selectGameWingoRecordList(GameWingoRecord gameWingoRecord);

    /**
     * 新增wingo开奖记录
     * 
     * @param gameWingoRecord wingo开奖记录
     * @return 结果
     */
    public int insertGameWingoRecord(GameWingoRecord gameWingoRecord);

    /**
     * 修改wingo开奖记录
     * 
     * @param gameWingoRecord wingo开奖记录
     * @return 结果
     */
    public int updateGameWingoRecord(GameWingoRecord gameWingoRecord);

    /**
     * 删除wingo开奖记录
     * 
     * @param id wingo开奖记录主键
     * @return 结果
     */
    public int deleteGameWingoRecordById(String id);

    /**
     * 批量删除wingo开奖记录
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteGameWingoRecordByIds(String[] ids);

   // public List<GameWingoRecord> page(@Param("timeLimit")int timeLimit,@Param("roundNo") String roundNo);
public List<GameWingoRecord> page(@Param("timeLimit")int timeLimit);
}
